/*
 *	Copyright © 2013 Changsha Shishuo Network Technology Co., Ltd. All rights reserved.
 *	长沙市师说网络科技有限公司 版权所有
 *	http://www.shishuo.com
 */

package com.hlingsoft.cms.dao;

import com.hlingsoft.cms.entity.CommentMessage;
import com.hlingsoft.cms.entity.SystemMessage;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 达人申请
 * 
 * @author Zhangjiale
 * 
 */

@Repository
	public interface SystemMessageDao {



	/**
	 * 添加评论消息
	 * 
	 * @return Integer
	 */
	public long addSystemMessage(SystemMessage systemMessage);


	/**
	 * 获取系统消息
	 * @return
	 */
    public List<SystemMessage> getSystemMessage(@Param("offset")int offset,@Param("rows")int rows);

}
